//---------------------------------------------------------------------------
#ifndef DMPgtoH
#define DMPgtoH

//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "PHTable.h"
#include "StDMPgto.h"

//---------------------------------------------------------------------------
class TDMPgto1 : public TDataModule
{
__published:  // IDE-managed Components
  PHTable*  TBPgto;
  PHTable*  TBCheqPg;
  void __fastcall TBPgtoAfterOpen( TObject* Sender );
  void __fastcall TBPgtoValor8Validate( int Elemento, Variant& Conteudo, PHDataSource* DS );
  void __fastcall TBPgtoRetencoes9Validate( int Elemento, Variant& Conteudo, PHDataSource* DS );
  void __fastcall TBPgtoDesconto10Validate( int Elemento, Variant& Conteudo, PHDataSource* DS );
  void __fastcall TBPgtoMulta11Validate( int Elemento, Variant& Conteudo, PHDataSource* DS );
  void __fastcall TBPgtoJuros12Validate( int Elemento, Variant& Conteudo, PHDataSource* DS );
  void __fastcall TBPgtoTipo2Validate( int Elemento, Variant& Conteudo, PHDataSource* DS );
  void __fastcall TBCheqPgAfterOpen( TObject* Sender );
  void __fastcall TBPgtoContaPagar1Validate( int Elemento, Variant&  Conteudo, PHDataSource*  DS ); private: // User declarations
public: // User declarations
  __fastcall TDMPgto1( TComponent* Owner );
  bool __fastcall TemCampo( int CodEmp, AnsiString Campo, AnsiString Conteudo );
};

//---------------------------------------------------------------------------
extern PACKAGE TDMPgto1*  DMPgto1;

//---------------------------------------------------------------------------
#endif

